WC_Asaas\Webhook\Endpoint S

Total Complexity 39
Dependencies 10
Dependents 2
Total lines 327
Lines of code 123
Logical lines of code 76
Comment lines 152
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
process_webhook()
S
49 6 30
validate_status()
S
57 6 15
validate_token()
S
68 4 6
validate_content()
S
69 3 6
get_instance()
S
71 2 6
ignore_non_woocommerce_payment()
S
73 2 5
validate_data()
S
73 2 5
validate_event()
S
68 2 6
validate_billing_type()
S
69 2 6
convert_other_billing_types_to_boleto()
S
68 2 7
get_url()
S
68 2 7
response()
S
68 2 7
__construct()
S
71 1 5
custom_rewrite_basic()
S
78 1 3
query_vars()
S
77 1 4
get_gateway_id()
S
72 1 5